// 请求文章信息模块

// 获取文章
import request from '@/utils/request'

// 获取频道新闻推荐
export const getArticleList = params => {
  return request({
    method: 'get',
    url: '/app/v1_1/articles',
    params
  })
}

// 获取文章详情
export const getArticle = articleId => {
  return request({
    method: 'get',
    url: `/app/v1_0/articles/${articleId}`
  })
}
